<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="/css/comfirm.css">
    <title>Pesk授权</title>
</head>
<body>
<div id="app">
    <div class="fill"></div>
    <div class="approval-box">
        <div class="title">是否允许${clientId}获取以下权限:</div>
        <ul>
<!--            <li>获取用户的账号信息</li>-->
<!--            <li>获取用户的历史查看记录,收藏夹,和喜欢</li>-->
<!--            <li>允许用户发表博客和帖子</li>-->
            <#list permissionList as value>
                <li>${value.pDesc!''}</li>
            </#list>
        </ul>

        <form method="post" action="/oauth/authorize">
            <input type="hidden" name="user_oauth_approval" value="true">
            <button class="btn" type="submit">授权</button>
        </form>
    </div>
</div>
</body>
</html>